﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Model="clr-namespace:LifeV2.Model">

    <BooleanToVisibilityConverter x:Key="BooleanToVisibility"/>

        <DataTemplate x:Key="LifeFormTemplate">

        <Rectangle  Margin="1" Fill="{Binding Fill}" Width="5" Height="5" ToolTip="{Binding Health}"  Visibility="{Binding IsAlive, Converter={StaticResource BooleanToVisibility }}" >
</Rectangle>

        </DataTemplate>


</ResourceDictionary>